home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 July & August
/
PCWorld_2006-07-08_cd.bin
/
v cisle
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Status Bar Date and Time.sd
< prev
next >
Wrap
INI File
|
2004-06-28
|
1KB
|
66 lines
[SUBJECT]
Description=Displays the date and the time in the viewers status bar
ImageIndex=-1
Folder=Text Effects
[HEAD_TEXT]
;<script language="JavaScript">
;<!--
;var thetimer = null;
;
;function showtime() {
; DaysOfWeek = new Array(7);
; DaysOfWeek[0] = "Sunday";
; DaysOfWeek[1] = "Monday";
; DaysOfWeek[2] = "Tuesday";
; DaysOfWeek[3] = "Wednesday";
; DaysOfWeek[4] = "Thursday";
; DaysOfWeek[5] = "Friday";
; DaysOfWeek[6] = "Saturday";
; Months = new Array(12);
; Months[0] = "January";
; Months[1] = "February";
; Months[2] = "March";
; Months[3] = "April";
; Months[4] = "May";
; Months[5] = "June";
; Months[6] = "July";
; Months[7] = "August";
; Months[8] = "September";
; Months[9] = "October";
; Months[10] = "November";
; Months[11] = "December";
; var now = new Date();
; var year = now.getYear();
; if (year < 2000)
; year += 1900;
; var mins = ((now.getMinutes() < 10) ? ":0" : ":") + now.getMinutes();
; var secs = ((now.getSeconds() < 10) ? ":0" : ":") + now.getSeconds();
; window.status = " " + DaysOfWeek[now.getDay()] + " " + Months[now.getMonth()] + " " + now.getDate() + ", " + year + " " + now.getHours() + mins + secs;
; thetimer = setTimeout("showtime()",1000);
;}
;
;//-->
;
;</script>
;
[BODY_TAG]
;onLoad="showtime()"
[BODY_TEXT]
[``]
Kind=S
Value=